<?php
require '../libs/AuthenInterface.php';
$interface = new AuthenInterface(AuthenInterface::APP_ENV_TEST);
testOpen($interface);
function testOpen(&$obj)
{
    //$this->markTestSkipped();
    $arr = array(
        'app'=>array('appId'=>112233, 'appName'=>'应用名称', 'test'=>1),
        'cas'=>array('appId'=>112233, 'domain'=>'www.xingqinhua.com', 'isSelf'=>false)
      );
      $message = '';
    $result = $obj->open($message, $arr);
    var_dump($result);
    var_dump($message);
}
